import Vue from 'vue'
import VueRouter from 'vue-router'
import HmList from '@/views/HmList.vue'
import HmInfo from '@/views/HmInfo.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: HmList
  },
  {
    path: '/info',
    component: HmInfo
  }
]

const router = new VueRouter({
  routes
})

export default router
